package com.study.studyroom.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.study.studyroom.entity.bo.RoomTypeBo;
import com.study.studyroom.entity.vo.Condition;
import com.study.studyroom.entity.vo.room.RoomTypeVo;

import java.util.List;

public interface RoomTypeService {
    IPage<RoomTypeBo> getRoomType(Condition<RoomTypeVo> condition);

    Integer addRoomType(RoomTypeVo roomTypeVo);

    RoomTypeBo updateRoomType(RoomTypeVo roomTypeVo);

    RoomTypeBo updateRoomTypeStatus(Integer id);

    Integer deleteRoomType(Integer id);

    List<RoomTypeBo> getAllRoomType();
}
